package com.yqg.manage.controller.dto;

import com.yqg.manage.entity.Menu;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 接受前端登录请求的参数
 */
@Data
public class UserDTO {
    private Integer id;
    private String account;
    private String username;
    private String password;
    private String userRole;
    private Long unitId;
    private Long departmentId;
    private String unitName;
    private String departmentName;
    private String token;
    private String role;
    private List<Menu> menus;
    private Long roleNo;
    private Long roleLevel;

    /**
     * 顶部配置
     */
    private String topConfiguration;

    /**
     * 文号单位简称（文书中文号使用）
     */
    private String documentNumber;
}
